package cn.stylefeng.guns.modular.gui.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 仓格管理
 * </p>
 *
 * @author Dong
 * @since 2023-06-09
 */
@TableName("p_cangge")
public class Cangge implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 所属规格
     */
    @TableField("gid")
    private Long gid;

    /**
     * 编号
     */
    @TableField("num")
    private String num;

    /**
     * 价格
     */
    @TableField("jiage")
    private BigDecimal jiage;

    /**
     * 规格
     */
    @TableField("guige")
    private String guige;

    /**
     * 删除
     */
    @TableField("del")
    private Integer del;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGid() {
        return gid;
    }

    public void setGid(Long gid) {
        this.gid = gid;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public BigDecimal getJiage() {
        return jiage;
    }

    public void setJiage(BigDecimal jiage) {
        this.jiage = jiage;
    }

    public String getGuige() {
        return guige;
    }

    public void setGuige(String guige) {
        this.guige = guige;
    }

    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    @Override
    public String toString() {
        return "Cangge{" +
        "id=" + id +
        ", gid=" + gid +
        ", num=" + num +
        ", jiage=" + jiage +
        ", guige=" + guige +
        ", del=" + del +
        "}";
    }
}
